<?php
require 'header.php';
echo '<h1>Site Options</h1>';

echo admin_menu(array(
	'General'=>'siteoptions.php?page=general',
	'Users'=>'siteoptions.php?page=users',
	'Groups'=>'siteoptions.php?page=groups',
	'Themes'=>'siteoptions.php?page=themes',
	'Plugins'=>'siteoptions.php?page=plugins'
));

$page=admin_verifypage(
	array('general','users','groups', 'themes','plugins'),
	'general',
	isset($_REQUEST['page'])?$_REQUEST['page']:''
);

echo '<div class="has-left-menu">';
require 'siteoptions/'.$page.'.php';
echo '</div>';
require 'footer.php';
